import request from '@/utils/request'

export function getHeadlineList (params) {
  return request({
    url: '/admin/get_tem_list',
    method: 'get',
    params: params
  })
}
export function doaddteminfo (params) {
  return request({
    url: '/admin/add_tem_info',
    method: 'post',
    params: params
  })
}
export function doEditHeadline (params) {
  return request({
    url: '/admin/update_tem_info',
    method: 'post',
    params: params
  })
}
export function doDelHeadline (params) {
  return request({
    url: '/admin/del_tem_info',
    method: 'get',
    params: params
  })
}

export function getWorldList (params) {
  return request({
    url: '/admin/get_world_list',
    method: 'get',
    params: params
  })
}
export function doaddactworld (params) {
  return request({
    url: '/admin/add_act_world',
    method: 'post',
    params: params
  })
}
export function doUpdateactworld (params) {
  return request({
    url: '/admin/update_act_world',
    method: 'post',
    params: params
  })
}
export function doDelactworld (params) {
  return request({
    url: '/admin/del_act_world',
    method: 'get',
    params: params
  })
}
export function getGrounpInfo (params) {
  return request({
    url: '/admin/get_group_info',
    method: 'get',
    params: params
  })
}
export function getGroupTopGoods (params) {
  return request({
    url: '/admin/get_group_top_goods',
    method: 'get',
    params: params
  })
}
export function getGroupAdoptGoodsData (params) {
  return request({
    url: '/admin/get_group_adopt_goods_data',
    method: 'get',
    params: params
  })
}
export function getGroupGoodsOrder (params) {
  return request({
    url: '/admin/get_group_goods_order',
    method: 'get',
    params: params
  })
}
export function getGroupServiceTrends (params) {
  return request({
    url: '/admin/get_group_service_trends',
    method: 'get',
    params: params
  })
}
export function getGroupAbility (params) {
  return request({
    url: '/admin/get_group_ability',
    method: 'get',
    params: params
  })
}
export function getGroupActivity (params) {
  return request({
    url: '/admin/get_group_activity',
    method: 'get',
    params: params
  })
}
